package com.godchicken.praise_each_other.cim.server;

import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.Watcher;
import org.apache.zookeeper.ZooKeeper;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.io.IOException;
import java.util.concurrent.CountDownLatch;

/**
 * @author godchicken
 */
@SpringBootApplication
@MapperScan(basePackages = "com.godchicken.praise_each_other.cim.server.mapper")
public class CimServerApplication {

    public static void main(String[] args) throws InterruptedException, IOException {
        SpringApplication.run(CimServerApplication.class,args);
    }
}
